<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"  %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		 <link type="text/css" rel="stylesheet" href="css/bootstrap.css">
		<link rel="stylesheet" type="text/css" href="new_file.css"/>
</head>

<body>
	<!--header-->
<jsp:include page="/header.jsp">
    <jsp:param name="flag" value="1"></jsp:param>
</jsp:include>
				<div class="top">
			</div>
		
				<div class=" banner2 container">
					<p class="zpzs1">热销商品展示</p>
					<p class="zpzs2">WORKS APPLICATION</p>
				</div>
			</div>
			<div class="dianying container clearfix">
			<c:forEach items="${list}" var="c">
                <div class="col-md-4 gallery-grid glry-two">
                    <a href="XqServlet?id=${c.id}">
                        <img src="${c.imgurl}"  class="img-responsive" alt="${c.name}" width="350" height="350"/>
                    </a>
                    <div class="gallery-info galrr-info-two">
                        <p>
                            <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
                            <a href="XqServlet?id=${c.id}">查看详情</a>
                        </p>
                        <a class="shop" href="CarServlet?id=${c.id}">立刻购买</a>
                        <div class="clearfix"></div>
                    </div>
                    </div>
                </div>
            </c:forEach>
	</div>
	</body>
</html>
